package com.ktjy.mapper;

import com.ktjy.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    public List<StorageRecord> getStorageRecordList(@Param("goodsName") String goodsName, @Param("supplierId") int supplierId, @Param("payStatus") int payStatus);
    public List<StorageRecord> getStorageRecordList1(@Param("goodsName") String goodsName,@Param("supplierId") Integer supplierId,@Param("payStatus") Integer payStatus,@Param("pageSize") Integer pageSize,@Param("offset") Integer offset);
    public int addStorageRecord(StorageRecord storageRecord);
    public int updateStorageRecord(StorageRecord storageRecord);
    public int deleteStorageRecord(@Param("id") Integer id);
    public StorageRecord getStorageRecordById(@Param("id") Integer id);
}
